﻿#include"XSort.h"
#include"XLess.h"
void SortTest()
{
	int array[] = { 10,100,21,123,123,54,5,12,5,12,13,51,5,3 };
	int nSize = sizeof(array) / sizeof(array[0]);
	XHeapSort(array,nSize,sizeof(int), XLess_int);
	for (size_t i = 0; i < nSize; i++)
	{
		printf("%d\n", array[i]);
	}

}